<script setup lang="ts" name="AccountView">
import { RouterView } from "vue-router";
import LanguageSelect from "@/components/language/LanguageSelect.vue";
import TenantSelect from "@/components/tenant/TenantSelect.vue";
import authbg from "@/assets/img/auth-bg.png";
</script>

<template>
    <div class="h-full grid md:grid-cols-2">
        <div class="h-full hidden md:block" :style="{ backgroundImage: `url(${authbg})` }"></div>
        <div class="h-full md:w-full">
            <RouterView />
        </div>
    </div>
    <div class="fixed left-auto bottom-auto top-2 right-2 md:left-2 md:bottom-2 md:top-auto md:right-auto">
        <el-space wrap>
            <LanguageSelect />
            <TenantSelect />
        </el-space>
    </div>
</template>
